package com.wntms.gps.pojo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


/**
 * 货运单合同对象 freight_contract
 *
 * @author group 4
 * @date 2022-11-22
 */
@Data
public class FreightContract
{
    private static final long serialVersionUID = 1L;

    private int id;

    /** 货运单编号 */
    private String fid;

    /** 运费 */
    private Double fare;

    /** 保险费 */
    private Double insurancefare;

    /** 审核状态 */
    private String auditstatus;

    /** 付款方式 */
    private Integer pay;

    /** 预定发货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date sdate;

    /** 货运信息表id */
    private Long fiid;

    /** 发货客户-用户表id */
    private Long uid;
    private CustomerInformation customerInformation;

    /** 收货客户id */
    private Long coid;
    private CustomerIn customerIn;

    /** 货运路线表id */
    private Long flid;
    private FreightLine freightLine;

    /** 货运状态表id */
    private Long fsid;
    private FreightStatus freightStatus;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date occurtime;

    /** 返款类型 */
    private Long refundtype;

    /** 代收货款 */
    private String payment;

    private Boolean istransit;
    /** 抵运时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date arrivetime;

}
